package uit.edu.vn.portal.portlets.mycourse.helper;

import java.util.List;

import uit.edu.vn.portal.portlets.mycourse.logic.SakaiWebServiceLogic;
import uit.edu.vn.portal.portlets.mycourse.models.CalendarEvent;
import uit.edu.vn.portal.portlets.mycourse.models.Site;
import uit.edu.vn.portal.portlets.mycourse.models.Tool;

/**
 * This is a static cover for the logic class, used until we convert to Spring.
 * 
 * @author Steve Swinsburg (steve.swinsburg@anu.edu.au)
 *
 */
public class SakaiWebServiceHelper {

	
	public static String getRemoteUserIdForUser(SakaiWebServiceLogic logic) {
		return logic.getRemoteUserIdForUser();
	}
	
	public static List<Site> getAllSitesForUser(SakaiWebServiceLogic logic) {
		return logic.getAllSitesForUser();
	}
	
	public static List<Tool> getToolsForSite(SakaiWebServiceLogic logic, String siteId) {
		return logic.getToolsForSite(siteId);
	}
	
	public static List<CalendarEvent> getAllCalendarEventsForSite(SakaiWebServiceLogic logic, String siteId){
		return logic.getAllCalendarEventsForSite(siteId);
	}
	
}
